Worklist/Items({SerialNumber})/ProcessInstance/XmlFields({XmlFieldName})

Returns the process instance XML field matching the XmlFieldName for the worklist item matching the SerialNumber.

URI

{Service Root URI}/Worklist/Items({SerialNumber})/ProcessInstance/XmlFields({XmlFieldName})?{Query Options}
https://api.denallix.com:443/K2Services/REST.svc/Worklist/Items(19_10)/ProcessInstance/XmlFields(MyProcessXMLField)

Method

GET

Service Path Options

Required

• SerialNumber (String) – the serial number for the worklist item
• XmlFieldName (String) – the XML field name for the process instance

Query Options

Optional

• System Query Options

Return Type

XmlField or Failure

GET /K2Services/REST.svc/Worklist/Items(19_10)/ProcessInstance/XmlFields(MyProcessXMLField)
					<?xml version="1.0" encoding="utf-8"?>                    <XmlField Name="MyProcessXMLField" xmlns="http://schemas.k2.com/process/d1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><XmlDocument>Some Process XML document</XmlDocument></XmlField>